﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EDTS.Weixin.Requests
{
    /// <summary>
    /// 接收消息接口
    /// </summary>
    public interface IRequest
    {
        string ToUserName { get; set; }
        string FromUserName { get; set; }
        DateTime CreateTime { get; set; }
        MsgType MsgType { get; set; }
        long MsgId { get; set; }
    }
    /// <summary>
    /// 接收消息基础类
    /// </summary>
    public class Request : IRequest
    {
        public string ToUserName { get; set; }
        public string FromUserName { get; set; }
        public DateTime CreateTime { get; set; }
        public MsgType MsgType { get; set; }
        public long MsgId { get; set; }
    }
}
